package com.evl.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 调度座位表
 * </p>
 *
 * @author yangliwei
 * @since 2017-06-19
 */
@TableName("train_seat_schedule")
public class TrainSeatSchedule extends Model<TrainSeatSchedule> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	@TableId(value="id", type= IdType.AUTO)
	protected Integer id;
    /**
     * 调度车_id
     */
	@TableField("sta_id")
	private Integer staId;
    /**
     * 车厢号
     */
	@TableField("carriage_no")
	private String carriageNo;
    /**
     * 座位号
     */
	@TableField("seat_no")
	protected String seatNo;
    /**
     * 座位类型
     */
	@TableField("seat_type")
	protected String seatType;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getStaId() {
		return staId;
	}

	public void setStaId(Integer staId) {
		this.staId = staId;
	}

	public String getCarriageNo() {
		return carriageNo;
	}

	public void setCarriageNo(String carriageNo) {
		this.carriageNo = carriageNo;
	}

	public String getSeatNo() {
		return seatNo;
	}

	public void setSeatNo(String seatNo) {
		this.seatNo = seatNo;
	}

	public String getSeatType() {
		return seatType;
	}

	public void setSeatType(String seatType) {
		this.seatType = seatType;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
